package com.cyx.gametool.builder;


import com.cyx.gametool.excel.ExcelColumnTitle;

import java.io.File;
import java.util.List;

public class ExcelToMysqlBuilder extends AbsBuilder<ExcelToMysqlBuilder> {

    /**
     * 输出文件夹路径
     */
    private String outputPath;

    /**
     * java问价包路径
     */

    private String javaPackage;

    /**
     * 类名前缀
     */
    private String classPrefix;

    /**
     * 类名后缀
     */
    private String classSuffix;


    public ExcelToMysqlBuilder setOutputPath(String outputPath) {
        this.outputPath = outputPath;
        return this;
    }

    public ExcelToMysqlBuilder setJavaPackage(String javaPackage) {
        this.javaPackage = javaPackage;
        return this;
    }

    public ExcelToMysqlBuilder setClassPrefix(String classPrefix) {
        this.classPrefix = classPrefix;
        return this;
    }

    public ExcelToMysqlBuilder setClassSuffix(String classSuffix) {
        this.classSuffix = classSuffix;
        return this;
    }


    @Override
    public ExcelToMysqlBuilder setSourceFile(File sourceFile) {
        super.sourceFile = sourceFile;
        return this;
    }

    @Override
    public ExcelToMysqlBuilder setSheetName(String sheetName) {
        super.sheetName = sheetName;
        return this;
    }

    @Override
    public ExcelToMysqlBuilder setExcelDataList(List<List<Object>> excelDataList) {
        super.excelDataList = excelDataList;
        return this;
    }

    @Override
    public ExcelToMysqlBuilder setExcelColumnTitles(List<ExcelColumnTitle> excelColumnTitles) {
        super.excelColumnTitles = excelColumnTitles;
        return this;
    }

    @Override
    public void build() {

    }

    @Override
    public void buildAsync() {

    }
}
